package com.intellij.ide.license.impl;

import com.intellij.ide.license.LicenseFactory;
import com.intellij.ide.license.WritableLicense;
import com.intellij.licensecommon.data.LicenseData;

public class o extends AbstractLicenseSource implements WritableLicense {
    private LicenseFile licenseFile;

    public void a()
            throws com.intellij.ide.license.LicenseException {
        throw new UnsupportedOperationException();
    }

    public void c(LicenseData parame) {
        setLicenseData(parame);
    }

    public void c() {
        setLicenseData(this.licenseFile.read());
    }

    public o(LicenseFactory factory) {
        super(factory);
        this.licenseFile = factory.e();
    }

    public void write(LicenseData licenseData) throws LicenseSaveException {
        this.licenseFile.write(licenseData);
    }

    public boolean e() {
        return true;
    }

    public LicenseFactory g() {
        return this.licenseFactory;
    }
}
